package com.boilerCloud.service.sys.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.boilerCloud.dao.sys.impl.DictionaryDao;
import com.boilerCloud.dto.HzlqswPage;
import com.boilerCloud.dto.sys.Dictionary;
import com.boilerCloud.service.sys.IDictionaryService;
@Service
public class DictionaryServiceImpl  implements IDictionaryService{

	@Resource
	private DictionaryDao dao;
	@Override
	public void qryList(Dictionary model, HzlqswPage<Dictionary> page)  throws Exception{
		dao.qryList(model,page);
		
	}

	@Override
	public void save(Dictionary model) throws Exception {
		dao.save(model);
		
	}

	@Override
	public void edit(Dictionary model) {
		dao.edit(model);
		
	}

	@Override
	public void del(int id) {
		dao.del(id);
		
	}

	@Override
	public List<Dictionary> getDictionaryList(int type) throws Exception {
		// TODO Auto-generated method stub
		return dao.getDictionaryList(type);
	}

	

}
